import { network } from '@/utils';

import { logisCenter } from '../../../../../config/Apis';

export async function queryTypeList() {
  return network.get(logisCenter.problem_typeList);
}

export async function queryProcessStatus(params: any) {
  return network.get(logisCenter.problem_processStatus, { params });
}

export async function queryProblemList(params: any) {
  return network.get(logisCenter.problem_list, { params });
}

export async function addRecord(params: any) {
  return network.post(logisCenter.problem_record_add, { data: params });
}
